<?php

declare(strict_types=1);

/**
 * 加载
 */
foreach (
    [
        __DIR__ . '/vendor/autoload.php',
        null,
    ] as $file
) {
    if ($file === null) {
        throw new RuntimeException('Unable to locate autoload.php');
    }
    if (file_exists($file)) {
        require $file;
        break;
    }
}
